package com.example.demo.server;

import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.server.DemoServer;

@Component
@Service(interfaceClass = DemoServer.class)
public class DemoServerImpl implements DemoServer {

	@Override
	public String sayHello(String name) {
		return name;
	}

}
